package br.com.moxeon.model.enums;

public enum AccountSituation {
	ABERTA("Aberta"),
	CANCELADA("Cancelada"),
	PAGA("Paga"),
	PARCIALMENTE_PAGA("Parcialmente Paga");

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	private AccountSituation(String nome) {
		this.name = nome;
	}
	
	public static AccountSituation getTypeForId(Integer id) {  
       return AccountSituation.values()[id];  
    }  
	
	@Override
	public String toString() {
		return this.name;
	}
}